package com.yksj.healthtalk.ui.app;
/**
 * @author zhao
 *
 */
public class AppTools {
	/**
	 * 获得app对象
	 * @param context
	 * @return
	 *//*
	public static HTalkApplication getApplication(Context context){
		return (HTalkApplication)context.getApplicationContext();
	}
	*//**
	 * 
	 * 获得所有的http请求地址
	 * @param context
	 * @return
	 *//*
	public static HttpUrls getHttpUrls(Context context){
		return getApplication(context).getHttpUrls();
	}
	
	*//**
	 * 获取系统设置对象
	 * @param context
	 * @return
	 *//*
	public static SettingManager getSettingManager(Context context){
		return getApplication(context).getSettingManager();
	}
	
	public static void setSettingManager(SettingManager settingManager,Context context){
		getApplication(context).setSettingManager(settingManager);
	}
	
	public static AppData getAppData(Context context){
		return getApplication(context).getAppData();
	}
	
	public static void setAppData(Context context){
		getApplication(context).setAppData(new AppData());

	}
	*//**
	 * 销毁数据
	 * @param context
	 *//*
	public static void destoryAll(Context context){
		HTalkApplication application = getApplication(context);
		application.destoryAll();
	}*/
	
}
